/*
 *  MPIEnvironment.h
 *  PX
 *
 *  Created by Patrick Zulian on 1/15/11.
 *  
 *
 */

#ifndef NSE_SOLVER_MPI_ENVIRONMENT_H
#define NSE_SOLVER_MPI_ENVIRONMENT_H


#include <mpi.h>
#include "MPIWrap.h"
#include "Environment.h"

namespace nsesolver {
	
	class MPIEnvironment : public Environment {
	public:
		inline int init(int * argc, char *** argv)
		{
			return MPI_Init(argc, argv);
		}
		
		
		inline int finalize()
		{
			return MPI_Finalize();
		}
		
	};
	
}

#endif
